package com.example.demo.service.impl;

import com.example.demo.mapper.ScMapper;
import com.example.demo.service.ScService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ScServiceImpl implements ScService {
    @Autowired
    private ScMapper scMapper;
    @Override
    public void deleteScBySno(int sno,int cno) {
        scMapper.deleteScBySno(sno,cno);
    }

    @Override
    public void insertSc(int sno, int cno) {
        scMapper.insertSc(sno,cno);
    }
}
